//调用接口配置文件
import { request } from 'config/request'


//获取区域数据
export async function getRegion(params) {
	return request({
		url: 'admin/product/present/getRegion',
		method: 'POST',
		data: params 
	});
};

//获取项目数据
export async function getProject(params) {
	params.pageNo = 1;
	params.pageSize = 1000;
	return request({
		url: `admin/estate/adminList`,
		method: 'POST',
		data: params 
	});
};
export async function updateStatus(params) {
	return request({
		url: `jfsc/admin/exchange/updateStatus`,
		method: 'POST',
		data: params 
	});
};

//导出
export async function exportExcel(params) {
	return request({
		url: `jfsc/admin/exchange/exportExcel/${params}`,
		method: 'GET',
	}); 
};
